/*
 * Copyright 2008-2012 Centro Andaluz de Innovación y Tecnologías de la
 * Información y las Comunicaciones (CITIC). All Rights Reserved.
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
 *
 * Please contact CITIC - Edificio CITIC, C/ Marie Curie, 6 Parque
 * Tecnológico de Andalucía 29590 - Campanillas, Málaga, Spain
 * or visit www.citic.es, if you need additional information or
 * have any questions.
 */

package es.citic.puedes.youtube.model;

import java.util.ArrayList;
import java.util.List;

/**
 * 
 * class that contains YouTube videos, playlists or both after a search
 * 
 * 
 */
public class YouTubeResult {

	/**
	 * found videos
	 */
	private List<YouTubeVideoMinimal> videos;
	/**
	 * found playlists
	 */
	private List<YouTubePlayList> playLists;

	/**
	 * empty constructor
	 */
	public YouTubeResult() {

		playLists = new ArrayList<YouTubePlayList>();
		videos = new ArrayList<YouTubeVideoMinimal>();
	}

	/**
	 * constructor with parameters
	 * 
	 * @param found
	 *            videos
	 * @param found
	 *            playLists
	 */
	public YouTubeResult(List<YouTubeVideoMinimal> videos,
			List<YouTubePlayList> playLists) {
		this.videos = videos;
		this.playLists = playLists;
	}

	/**
	 * @return the found videos
	 */
	public List<YouTubeVideoMinimal> getVideos() {
		return videos;
	}

	/**
	 * @param videos
	 *            the videos to set
	 */
	public void setVideos(List<YouTubeVideoMinimal> videos) {
		this.videos = videos;
	}

	/**
	 * @return the playLists
	 */
	public List<YouTubePlayList> getPlayLists() {
		return playLists;
	}

	/**
	 * @param playLists
	 *            the playLists to set
	 */
	public void setPlayLists(List<YouTubePlayList> playLists) {
		this.playLists = playLists;
	}

}
